﻿// -----------------------------------------------------------------------
// <copyright file=DmCachDungBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class DmCachDungBusiness
    {
        DmCachDungDataAccess objDa = null;

        public DmCachDungBusiness()
        {
            objDa = new DmCachDungDataAccess();
        }

        public bool InsertDmCachDung(DmCachDungEntity obj)
        {
            return objDa.InsertDmCachDung(obj);
        }

        public bool EditDmCachDung(DmCachDungEntity obj)
        {
            return objDa.EditDmCachDung(obj);
        }

        public bool DeleteDmCachDung(string maCachDung)
        {
            return objDa.DeleteDmCachDung(maCachDung);
        }

        public DmCachDungEntity GetDmCachDung(string maCachDung)
        {
            return objDa.GetDmCachDung(maCachDung);
        }

        public IList<DmCachDungEntity> GetDmCachDungList()
        {
            return objDa.GetDmCachDungList();
        }

    }
}